sync: Added -g as a short option for --no-content
authorJoey Hess <joeyh@joeyh.name>
Wed, 17 May 2023 16:33:57 +0000 (12:33 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 17 May 2023 16:34:26 +0000 (12:34 -0400)
commit40731ff9fdd5725635ad8400cfd2872dc1638e5e
tree8a54010aecc88551d5dacabe891d8dffab83a674
parent5df89d58c7d43b5cd26829cb8c4699e02fc352f3
sync: Added -g as a short option for --no-content

I anticipate that if sync is transitioned to syncing content by default,
people will want a short option. And in repositories where
annex.synccontent = true, they already would. And pull and push sync
content by default, so a short option is useful with them too.

Mnemonic: -g makes only git data be synced
Also, -a makes only annex data be synced.

Would have preferred -c, which would complement -C, but it
was already taken to set git configs.

Sponsored-by: Noam Kremen on Patreon
CHANGELOG
Command/Sync.hs
doc/git-annex-pull.mdwn
doc/git-annex-push.mdwn
doc/git-annex-sync.mdwn